package cn.cloud9.chinese.mainland.constant;

import java.util.Random;

public interface Constant {
    int TIMEOUT = 3000;
    String PATH_CHAR = "/";
    String CODE = "CODE";
    String PARENT_CODE = "PARENT_CODE";
    String NAME = "NAME";
    String LEVEL = "LEVEL";
    String TYPE_CODE = "TYPE_CODE";
    String LINK = "LINK";
    String GEN_TIME = "GEN_TIME";
    String REFERER = "Referer";
    String USER_AGENT = "User-Agent";
    String[] BROWSER_AGENTS = {
        "Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Mobile Safari/537.36",
        "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36",
        "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:102.0) Gecko/20100101 Firefox/102.0",
        "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.53 Safari/537.36 Edg/103.0.1264.37",
        "Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko"
    };
    String ROOT_PATH = "http://www.stats.gov.cn/tjsj/tjbz/tjyqhdmhcxhfdm/${YEAR}/";
    Random R = new Random();
}
